#include<stdio.h>
#include<math.h>
int main()
{
    int x,b;
    printf("please input x:");
    scanf("%d",&x);
    if(x<=1000&&x>0)
    b=sqrt(x);
    else
    printf("please input again");
    printf("%d\n",b);
} 